home *** CD-ROM | disk | FTP | other *** search
/ kermit.columbia.edu / kermit.columbia.edu.tar / kermit.columbia.edu / newsgroups / misc.19980424-19980901 / 000286_news@newsmaster….columbia.edu _Fri Jul 17 09:13:53 1998.msg < prev    next >
Internet Message Format  |  1998-08-31  |  4KB

  1. Return-Path: <news@newsmaster.cc.columbia.edu>
  2. Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.35.30])
  3.     by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id JAA03689
  4.     for <kermit.misc@watsun.cc.columbia.edu>; Fri, 17 Jul 1998 09:13:53 -0400 (EDT)
  5. Received: (from news@localhost)
  6.     by newsmaster.cc.columbia.edu (8.8.5/8.8.5) id JAA11961
  7.     for kermit.misc@watsun; Fri, 17 Jul 1998 09:13:53 -0400 (EDT)
  8. Path: news.columbia.edu!watsun.cc.columbia.edu!jaltman
  9. From: jaltman@watsun.cc.columbia.edu (Jeffrey Altman)
  10. Newsgroups: comp.protocols.kermit.misc
  11. Subject: Re: how to drop idle connections?
  12. Date: 17 Jul 1998 13:13:50 GMT
  13. Organization: Columbia University
  14. Lines: 72
  15. Message-ID: <6onime$8ad$1@apakabar.cc.columbia.edu>
  16. References: <6on9ha$ulb$1@actisl.actis.de>
  17. NNTP-Posting-Host: watsun.cc.columbia.edu
  18. Xref: news.columbia.edu comp.protocols.kermit.misc:8988
  19.  
  20. In article <6on9ha$ulb$1@actisl.actis.de>,
  21. Thorsten Kuehnemann <thorsten@actis.de> wrote:
  22. : Hello,
  23. : while trying the script language for connections through
  24. : several tcp hosts, isdn dialup devices, etc. i have the
  25. : following problem:
  26. : Is it possible to drop an expensive connection if the user
  27. : (or the line) is idle for n seconds? I am looking for
  28. : a command like "set connect idle-timeout 600". The connections
  29. : are used for terminal I/O only (no filetransfers).
  30. : I've found nothing in the german translated Kermit Book
  31. : from Heise, the english version is ordered, but the bookstore
  32. : told me to wait several weeks for the book to arrive.
  33. : My Kermit is a "C-Kermit 6.0.192, 6 Sep 96".
  34. : Thorsten
  35.  
  36. This functionality is not currently implemented in Unix C-Kermit.
  37. It is implemented in Kermit 95 for Win95/98/NT/OS2.  From the online
  38. help:
  39.  
  40. Syntax: CONNECT (or C, or CQ) [ switches ]
  41.  
  42. Connect to a remote computer via the serial communications device given in
  43. the most recent SET PORT command, or to the network host named in the most
  44. recent SET HOST command.  Type the escape character followed by C to get
  45. back to the C-Kermit prompt, or followed by ? for a list of CONNECT-mode
  46. escape commands.  You can also assign the \Kexit verb to the key or
  47. key-combination of your choice; by default it is assigned to Alt-x.
  48.  
  49. Other switches include:
  50.  
  51. /TRIGGER:string
  52.   One or more strings to look for that will cause automatic return to
  53.   command mode.  To specify one string, just put it right after the
  54.   colon, e.g. "/TRIGGER:Goodbye".  If the string contains any spaces, you
  55.   must enclose it in braces, e.g. "/TRIGGER:{READY TO SEND...}".  To
  56.   specify more than one trigger, use the following format:
  57.  
  58.     /TRIGGER:{{string1}{string2}...{stringn}}
  59.  
  60.   Upon return from CONNECT mode, the variable \v(trigger) is set to the
  61.   trigger string, if any, that was actually encountered.  This value, like
  62.   all other CONNECT switches applies only to the CONNECT command with which
  63.   it is given, and overrides (temporarily) any global SET TERMINAL TRIGGER
  64.   string that might be in effect.
  65.  
  66. /IDLE-LIMIT:number
  67.   The number of seconds of idle time, after which Kermit returns
  68.   automatically to command mode; default 0 (no limit).
  69.  
  70. /IDLE-INTERVAL:number
  71.   The number of seconds of idle time, after which Kermit automatically
  72.   transmits the idle string.
  73.  
  74. /IDLE-STRING:string
  75.   The string to transmit whenever the idle interval has passed.
  76.  
  77. /TIME-LIMIT:number
  78.   The maximum number of seconds for which the CONNECT session may last.
  79.   The default is 0 (no limit).  If a nonzero number is given, Kermit returns
  80.   automatically to command mode after this many seconds.
  81.  
  82.  
  83.     Jeffrey Altman * Sr.Software Designer * Kermit-95 for Win32 and OS/2
  84.                  The Kermit Project * Columbia University
  85.               612 West 115th St #716 * New York, NY * 10025
  86.   http://www.kermit-project.org/k95.html * kermit-support@kermit-project.org